import { HttpService } from '@/utils/http';
import { API } from '@/utils/configs';
import { ReturnResult } from '@/types/http';
import { ICityDTO } from '@/types/data';

class CityService extends HttpService {
  getCityList() {
    return this.axiosGet<{}, ReturnResult<ICityDTO[]>>({ url: API.GET_CITY_LIST });
  }
}

export const cityService = new CityService();